<%-- 
    Document   : mostrarCambioComponente
    Created on : 8/10/2013, 12:12:01 AM
    Author     : Andres
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib uri="/struts-tags" prefix="s"%>
<table border="0" width="60%" cellpadding="0" cellspacing="0" id="product-table" name="tablaDisp">
        <tr>
                <th class="table-header-repeat line-left minwidth-1"><a>ID Ticket</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>ID Dispositivo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>ID Componente</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Tipo</a></th>
                <th class="table-header-repeat line-left minwidth-1"><a>Prioridad</a></th>
        </tr> 
        <tr>
            <td><input type="text"  class="inp-form" value="<s:property value='cc.Ticket.IdTicket'/>" id="idTicket" readonly=""/></td>
            <td><input type="text"  class="inp-form" value="<s:property value='cc.Ticket.IdDispositivo.IdDisp'/>" id="idDisp" readonly=""/></td>
            <td><input type="text"  class="inp-form" value="<s:property value='cc.Componentes.Id'/>" id="idComponente" readonly=""/></td>
            <td><input type="text"  class="inp-form" value="<s:property value='cc.Componentes.IdTipo.Tipo'/>" id="idComponente" readonly=""/></td>
            <td><s:property value="cc.Ticket.Prioridad"/></td>
        </tr> 
        <tr>
            <td colspan="7"><input type="button" class="btn" value="Regresar" id="btnRegresar"></td>
        </tr>    
 </table>
<h3>Cambio</h3>
<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
        <tr>
            <th valign="top">
                Componentes: 
            </th> 
            <td>
                <select id="componentes" name="componentes">
                        <option value="">[Componentes]</option>
                        <s:iterator value="listaComponentes" status="estatus">
                            <option value="<s:property value='Id'/>"><s:property value="IdDispOrigen.IdDisp"/>-<s:property value="IdTipo.Tipo"/></option>   
                        </s:iterator>
                </select> 
            </td>    
            <td>
            <div class="error-left"></div>
            <div class="error-inner" id="ecomponentes">Este campo es requerido.</div>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="button" class="btn" value="Realizar Cambio" name="btnRealizarCambio" id="btnRealizarCambio">
            </td>    
        </tr>     
</table>